﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace neut
{
    public partial class CopyToolDlg : Form
    {
        public CopyToolDlg()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            textBox1.Text = textBox1.Text.Replace("-\r\n", "").Replace("\r\n", " ");
        }

        private void button2_Click(object sender, EventArgs e)
        {
            textBox1.Text += "\n";
            textBox1.SelectAll();
            textBox1.Copy();
            Close();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            textBox1.Text = textBox1.Text.Replace(" ", "");
        }

        private void button4_Click(object sender, EventArgs e)
        {
            textBox1.Text = textBox1.Text.Replace("  ", " ");
        }
    }
}
